package com.ice.app.system.menu.vo;

import java.util.List;

import com.iceframework.core.entity.TreeEntity;

/**
 * 菜单导航视图对象
 * 
 * @author Palo
 *
 */
public class MenuTreeVo implements TreeEntity<MenuTreeVo> {

	// 必须留
	private String id;
	private String parentId;

	private String title;
	private String icon;
	private String href;
	private String i18n;
	private boolean spread;
	private String openWith;
	private List<MenuTreeVo> children;

	// 兼容zTree
	private String name;
	private Boolean checked;
	private String pId;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public boolean getSpread() {
		return spread;
	}

	public void setSpread(boolean spread) {
		this.spread = spread;
	}

	public List<MenuTreeVo> getChildren() {
		return children;
	}

	@Override
	public void setChildren(List<MenuTreeVo> children) {
		this.children = children;
	}

	@Override
	public String getId() {
		// TODO Auto-generated method stub
		return this.id;
	}

	@Override
	public String getParentId() {
		// TODO Auto-generated method stub
		return this.parentId;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getI18n() {
		return i18n;
	}

	public void setI18n(String i18n) {
		this.i18n = i18n;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getOpenWith() {
		return openWith;
	}

	public void setOpenWith(String openWith) {
		this.openWith = openWith;
	}

}
